 /**
 * COOKIE获取地址栏参数
 * @param {String} key 键
 * @return {string} 参数值
 *
 */
function getparams(key){
 
    let query = window.location.search.substring(1);
    query = decodeURI(query);
    let arr = query.split("&");
    for(let i = 0;i<arr.length;i++){
        var newarr = arr[i].split('=');
        if(newarr[0]==key) return newarr[1];
    }
    return false;
}

